﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Net;
using System.Xml;

namespace SKN
{
    public static class XMLFile
    {
        private static XmlDocument GetXMLDocument (string url)
        {
            try
            {
                Stream stream = File.GetFileStream(url);
                XmlDocument doc = new XmlDocument();
                doc.Load(stream);
                stream.Close();
                return doc;
            }
            catch (Exception ex)
            {
                //status += "Failed to download data from " + url + ". ";
                throw ex;
            }
        }
    }
}
